package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;


@TableName("budget_account")
@Data
public class BudgetAccount{

    /** 预算Id **/
    @Excel(name = "预算科目序号", cellType = Excel.ColumnType.NUMERIC)
    @TableId(type = IdType.AUTO)
    private Integer id;
    /** 所属机构Id **/
    @Excel(name = "所属机构")
    @TableField("budget_dept_id")
    private String budgetDeptId;
    /** 预算编码 **/
    @Excel(name = "预算编码")
    @TableField("budget_coding")
    private String budgetCoding;
    /** 预算名称 **/
    @Excel(name = "预算名称")
    @TableField("budget_name")
    private String budgetName;
    /** 状态 **/
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    @TableField("budget_status")
    private Integer budgetStatus;
    @TableField("create_by")
    @Excel(name = "创建人员")
    private String createBy;
    @TableField(value = "create_time" ,fill = FieldFill.INSERT)
    @Excel(name = "创建时间")
    private LocalDateTime createTime;
    @TableField("update_by")
    @Excel(name = "修改人员")
    private String updateBy;
    @TableField(value = "update_time" ,fill = FieldFill.UPDATE)
    @Excel(name = "修改时间")
    private LocalDateTime updateTime;
}